//
//  AWOptionButton.m
//  awu
//
//  Created by centling on 15/8/22.
//  Copyright (c) 2015年 centling. All rights reserved.
//

#import "AWOptionButton.h"

@implementation AWOptionButton


// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
    self.selectedImage=[[UIImageView alloc] initWithImage:[UIImage imageNamed:@"icon_button_selected"]];
    self.selectedImage.frame=CGRectMake(CGRectGetWidth(self.frame)-15, CGRectGetHeight(self.frame)-15, 15, 15);
    self.selectedImage.hidden=YES;
    [self addSubview:self.selectedImage];
}

@end
